<?php


$user_id = $this->auth->get_user_id();

?>
<div class="menu-title">
<img onload="update_content('<?php echo site_url("user/homepage/"); ?>');" src="<?= base_url();?>img/user.png" alt="img"/> User Menu
</div>
<ul>
	<li><a href="#" onclick="update_content('<?php echo site_url("user/homepage/"); ?>');">My Homepage</a></li>
	<li><a href="#" onclick="update_content('<?php echo site_url("user/profile/".$user_id); ?>');">My Profile</a></li>
	<li><a href="#" onclick="update_content('<?php echo site_url("user/logout"); ?>'); update_login('<?php echo site_url("user/showlogin"); ?>');">Logout</a></li>
</ul>

